package com.smartEdu.exception;

import com.smartEdu.commons.LogCvt;

public class SystemException extends RuntimeException{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8253273375839514074L;
	
	public SystemException(String message) {
		super(message);
		LogCvt.error(message);
	}
	public SystemException(Throwable cause) {
		super(cause.getMessage(), cause);
		LogCvt.error(cause.getMessage(),cause);
	}

	public SystemException(String message, Throwable cause) {
		super(message, cause);
		LogCvt.error(message,cause);
	}
}
